<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QtSoapStructIterator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_qt_soap_struct_iterator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QtSoapStructIterator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_qt_soap_struct_iterator.html" title="The QtSoapStructIterator class provides an iterator for traversing the items in a QtSoapStruct...">QtSoapStructIterator</a> class provides an iterator for traversing the items in a <a class="el" href="class_qt_soap_struct.html" title="The QtSoapStruct class is an implementation of the SOAP struct type. ">QtSoapStruct</a>.  
 <a href="class_qt_soap_struct_iterator.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a801780ea61cb7a277f17437f5b8b16aa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#a801780ea61cb7a277f17437f5b8b16aa">QtSoapStructIterator</a> (<a class="el" href="class_qt_soap_struct.html">QtSoapStruct</a> &amp;)</td></tr>
<tr class="separator:a801780ea61cb7a277f17437f5b8b16aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44a363fd50c46e5a1e6a21587c02340a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#a44a363fd50c46e5a1e6a21587c02340a">~QtSoapStructIterator</a> ()</td></tr>
<tr class="separator:a44a363fd50c46e5a1e6a21587c02340a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e269b0e5ce56fcbb25e407e342f30f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#a1e269b0e5ce56fcbb25e407e342f30f2">key</a> () const</td></tr>
<tr class="separator:a1e269b0e5ce56fcbb25e407e342f30f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74bd8ec5fbf9f4eb5c38ded597ba07bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qt_soap_type.html">QtSoapType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#a74bd8ec5fbf9f4eb5c38ded597ba07bf">data</a> ()</td></tr>
<tr class="separator:a74bd8ec5fbf9f4eb5c38ded597ba07bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4701e1dc8095c8615f05aae9295101ec"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qt_soap_type.html">QtSoapType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#a4701e1dc8095c8615f05aae9295101ec">current</a> () const</td></tr>
<tr class="separator:a4701e1dc8095c8615f05aae9295101ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa169a9d28d1c58b5139be4f329df39a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#aa169a9d28d1c58b5139be4f329df39a9">operator++</a> ()</td></tr>
<tr class="separator:aa169a9d28d1c58b5139be4f329df39a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72c400c7bcc4d6c527aed67aa675e67"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#ac72c400c7bcc4d6c527aed67aa675e67">operator!=</a> (const <a class="el" href="class_qt_soap_struct_iterator.html">QtSoapStructIterator</a> &amp;j) const</td></tr>
<tr class="separator:ac72c400c7bcc4d6c527aed67aa675e67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f2c47b1341f50f7fcf104545833d052"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_soap_struct_iterator.html#a5f2c47b1341f50f7fcf104545833d052">operator==</a> (const <a class="el" href="class_qt_soap_struct_iterator.html">QtSoapStructIterator</a> &amp;j) const</td></tr>
<tr class="separator:a5f2c47b1341f50f7fcf104545833d052"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_qt_soap_struct_iterator.html" title="The QtSoapStructIterator class provides an iterator for traversing the items in a QtSoapStruct...">QtSoapStructIterator</a> class provides an iterator for traversing the items in a <a class="el" href="class_qt_soap_struct.html" title="The QtSoapStruct class is an implementation of the SOAP struct type. ">QtSoapStruct</a>. </p>
<p>The iterator is created by passing a <a class="el" href="class_qt_soap_struct.html" title="The QtSoapStruct class is an implementation of the SOAP struct type. ">QtSoapStruct</a> to the constructor. It it not defined which item the iterator initially will point to. Neither is the order in which the items are processed.</p>
<p><a class="el" href="class_qt_soap_struct_iterator.html#a1e269b0e5ce56fcbb25e407e342f30f2">key()</a> returns the name of the current item. <a class="el" href="class_qt_soap_struct_iterator.html#a74bd8ec5fbf9f4eb5c38ded597ba07bf">data()</a> and <a class="el" href="class_qt_soap_struct_iterator.html#a4701e1dc8095c8615f05aae9295101ec">current()</a> return a pointer to the current item, or 0 if there is none. <a class="el" href="class_qt_soap_struct_iterator.html#aa169a9d28d1c58b5139be4f329df39a9">operator++()</a> navigates to the next item in the struct.</p>
<div class="fragment"><div class="line"><span class="keywordflow">for</span> (<a class="code" href="class_qt_soap_struct_iterator.html">QtSoapStructIterator</a> it(myStruct); it.current(); ++it) {</div><div class="line"><a class="code" href="class_qt_soap_type.html">QtSoapType</a> *item = it.data();</div><div class="line"><span class="comment">// process item</span></div><div class="line">}</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_soap_array_iterator.html" title="The QtSoapArrayIterator class provides an iterator for traversing the items in a QtSoapArray. ">QtSoapArrayIterator</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a801780ea61cb7a277f17437f5b8b16aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a801780ea61cb7a277f17437f5b8b16aa">&#9670;&nbsp;</a></span>QtSoapStructIterator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QtSoapStructIterator::QtSoapStructIterator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qt_soap_struct.html">QtSoapStruct</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructs a <a class="el" href="class_qt_soap_struct_iterator.html" title="The QtSoapStructIterator class provides an iterator for traversing the items in a QtSoapStruct...">QtSoapStructIterator</a> and initializes it to point to the first element in the struct <em>s</em>. </p>

</div>
</div>
<a id="a44a363fd50c46e5a1e6a21587c02340a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44a363fd50c46e5a1e6a21587c02340a">&#9670;&nbsp;</a></span>~QtSoapStructIterator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QtSoapStructIterator::~QtSoapStructIterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructs the <a class="el" href="class_qt_soap_struct_iterator.html" title="The QtSoapStructIterator class provides an iterator for traversing the items in a QtSoapStruct...">QtSoapStructIterator</a>. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4701e1dc8095c8615f05aae9295101ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4701e1dc8095c8615f05aae9295101ec">&#9670;&nbsp;</a></span>current()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qt_soap_type.html">QtSoapType</a> * QtSoapStructIterator::current </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a pointer to the current item, or 0 if there is none. </p>

</div>
</div>
<a id="a74bd8ec5fbf9f4eb5c38ded597ba07bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74bd8ec5fbf9f4eb5c38ded597ba07bf">&#9670;&nbsp;</a></span>data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qt_soap_type.html">QtSoapType</a> * QtSoapStructIterator::data </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a pointer to the current item, or 0 if there is none. </p>

</div>
</div>
<a id="a1e269b0e5ce56fcbb25e407e342f30f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e269b0e5ce56fcbb25e407e342f30f2">&#9670;&nbsp;</a></span>key()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qt_soap_q_name.html">QtSoapQName</a> QtSoapStructIterator::key </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the QName (qualified name) of the current item. </p>

</div>
</div>
<a id="ac72c400c7bcc4d6c527aed67aa675e67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac72c400c7bcc4d6c527aed67aa675e67">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QtSoapStructIterator::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qt_soap_struct_iterator.html">QtSoapStructIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>j</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns true if this iterator's position is not equal to that of <em>j</em>; otherwise returns false. </p>

</div>
</div>
<a id="aa169a9d28d1c58b5139be4f329df39a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa169a9d28d1c58b5139be4f329df39a9">&#9670;&nbsp;</a></span>operator++()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QtSoapStructIterator::operator++ </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Moves the iterator to the next item in the struct. </p>

</div>
</div>
<a id="a5f2c47b1341f50f7fcf104545833d052"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f2c47b1341f50f7fcf104545833d052">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QtSoapStructIterator::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qt_soap_struct_iterator.html">QtSoapStructIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>j</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns true if this iterator's position is equal to that of <em>j</em>; otherwise returns false. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/network/soap/<a class="el" href="qtsoap_8h_source.html">qtsoap.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/network/soap/qtsoap.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
